.book-content {
  padding: 20rpx 0;
  
}
// 书籍内容
.g-book {
  padding: 36rpx;
  font-size: 36rpx;
  // background-color: #eef3ef;
  .title {
    margin-bottom: 40rpx;
    font-size: 40rpx;
  }
  .paragraph {
    margin-top: 40rpx;
    line-height: 60rpx;
    text-indent: 60rpx;
  }
}
// 切换章树

.prev,.next {
  margin: 0 40rpx;
  line-height: 60rpx;
  padding: 5rpx 30rpx;
  text-align: center;
  border-radius: 10rpx;
  color: #3095de;
  background-color: #e3e0cf;
}

// 功能面板
.panel {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: #fff;
  .catalog-btn,.theme-btn,.set-btn {
    text-align: center;
    margin: 35rpx 80rpx;
    font-size: 28rpx;
    .iconfont {
      margin-bottom: 10rpx;
    }
  }
}

.fade-in {
  opacity: 1;
  transition: all 1s;
}

.fade-out {
  opacity: 0;
  transition: all 1s;
}

// 小目录
.mini-catalog {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  z-index: 999;
  height: 100%;
  overflow: scroll;
  // 主体内容
  .content {
    overflow: scroll;
    width: 70%;
    height: 100vh;
    position: relative;
    z-index: 999;
    background-color: #fff;
    // 书籍详情
    .book-detail {
      display: flex;
      margin: 20rpx;
      margin-bottom: 40rpx;
      .book-cover {
        width: 150rpx;
        height: 200rpx;
        border-radius: 6rpx;
        margin-right: 30rpx;
        box-shadow: 0px 1px 6px 1px rgba($color: #000000, $alpha: 0.2);
        .img {
          width: 100%;
          height: 100%;
          border-radius: 6rpx;
        }
      }
      .book-message {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        font-size: 24rpx;
        color: #555555;
      }
    }
    // 书籍章节
    .book-chapter {
      .title {
        display: flex;
        padding: 15rpx;
        font-size: 28rpx;
        color: #444549;
        justify-content: space-between;
        background-color: #f6f7fb;
        .iconfont {
          font-size: 28rpx;
        }
      }
      // 章节
      .chapter {
        padding: 15rpx;
        font-size: 24rpx;
        // 每一章节
        .chapter-item {
          display: flex;
          justify-content: space-between;
          margin: 30rpx 0;
          color: #989898;
          .iconfont {
            font-size: 26rpx;
          }
        }
      }
      // 选择章节
  .select-chapter {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 40rpx;
    // 每一项
    .select-option {
      width: 28%;
      height: 30rpx;
      padding: 15rpx 0;
      margin-bottom: 40rpx;
      border-radius: 10rpx;
      font-size: 22rpx;
      background-color: #f6f7fb;
      text-align: center;
    }
    .active {
      width: 28%;
      height: 30rpx;
      padding: 15rpx 0;
      margin-bottom: 40rpx;
      border-radius: 10rpx;
      color: #fff;
      font-size: 22rpx;
      text-align: center;
      background-color: #456fdd;
    }
  }
    }
  }
  // 遮罩层
  .mark {
    width: 30%;
    height: 100%;
    background-color: rgba($color: #000000, $alpha: 0.2);
  }
}

// 字体大小与主题颜色
.theme {
  position: fixed;
  width: 100%;
  bottom: 0;
  background-color: #fff;
  // 字体大小
  .word-size {
    display: flex;
    align-items: center;
    padding: 15px 0;
    justify-content: space-between;
    .change-size {
      margin: 0 40rpx;
      padding: 10rpx 70rpx;
      border-radius: 10rpx;
      background-color: #e1e1e1;
    }
    
  }
  // 主题颜色
  .theme-color {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20rpx;
    .color-item {
      width: 100rpx;
      height: 100rpx;
      line-height: 100rpx;
      text-align: center;
      border-radius: 3rpx;
      border: 1px solid transparent;
    }
    .active {
      width: 100rpx;
      height: 100rpx;
      line-height: 100rpx;
      text-align: center;
      border-radius: 3rpx;
      border: 1px solid #7ba0d5;
    }
  }
  .size {
    height: 100%;
    line-height: 70rpx;
    // background-color: pink;
  }
}

